<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Index extends CI_Controller {

	function __construct()
	{
            parent::__construct();
            //$this->template->load('template', 'home');
            
        }

	function index()
	{            
            $this->load->model('hotel_model');
            $data["acc_arr"] = $this->hotel_model->get_accomodations();
            $this->template->load('template', 'home', $data);
            //$this->load->view('home');
        }
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */